# Upload a merchant logo

Sets a logo for this merchant, replacing your account logo on its receipts and onboarding pages. Send the image as multipart/form-data in the `logo` field.

Endpoint: POST /v1/merchants/{merchant_id}/logo
Version: v1
Security: api-key-secret

## Security:

  - `api-key-secret` (unknown)
    http basic

## Path parameters:

  - `merchant_id` (string, required)
    Merchant ID.

## Request fields (multipart/form-data):

  - `logo` (string, required)
    PNG, JPEG or WebP image, up to 5 MB.

## Response 201:

  - `201` (unknown)
    The uploaded logo.

## Response 201 fields (application/json):

  - `logo` (string | null, required)
    Public URL of the merchant logo override. Null when none is set.
    Example: https://assets.example.com/merchants/merchant_2x4y6z8a0b1c2d3e4f5g6h7j8k/logo.png

  - `uploaded_at` (string | null, required)
    When the logo was uploaded. Only set on the upload response.
    Example: 2026-01-15T10:30:00.000Z

## Response 400:

  - `400` (unknown)
    No file was sent in the `logo` field, or it is not a PNG, JPEG or WebP image.

## Response 400 fields (application/json):

  - `status_code` (number, required)
    HTTP status code of the response.
    Example: 400

  - `message` (any, required)
    What went wrong. A request that fails validation lists one message per invalid field.
    Example: Device IMEI '357111112222333' is not available to be used.

  - `error` (string, required)
    Error code. A broken business rule returns a stable SCREAMING_SNAKE_CASE code to branch on; other failures return a generic name such as `NotFoundException`.
    Example: DEVICE_IMEI_ALREADY_BOUND

  - `details` (object)
    Extra context some business-rule errors carry.

  - `debug_id` (string)
    Reference for this request, also sent in the `X-Debug-Id` header. Quote it when contacting support.
    Example: dbg_01k8x2v9j3m4n5p6q7r8s9t0vw

  - `timestamp` (string, required)
    When the error occurred.
    Example: 2026-01-15T10:30:00.000Z

## Response 401:

  - `401` (unknown)
    Missing or invalid credentials.

## Response 401 fields (application/json):

  - `status_code` (number, required)
    HTTP status code of the response.
    Example: 400

  - `message` (any, required)
    What went wrong. A request that fails validation lists one message per invalid field.
    Example: Device IMEI '357111112222333' is not available to be used.

  - `error` (string, required)
    Error code. A broken business rule returns a stable SCREAMING_SNAKE_CASE code to branch on; other failures return a generic name such as `NotFoundException`.
    Example: DEVICE_IMEI_ALREADY_BOUND

  - `details` (object)
    Extra context some business-rule errors carry.

  - `debug_id` (string)
    Reference for this request, also sent in the `X-Debug-Id` header. Quote it when contacting support.
    Example: dbg_01k8x2v9j3m4n5p6q7r8s9t0vw

  - `timestamp` (string, required)
    When the error occurred.
    Example: 2026-01-15T10:30:00.000Z

## Response 404:

  - `404` (unknown)
    Merchant not found for this account.

## Response 404 fields (application/json):

  - `status_code` (number, required)
    HTTP status code of the response.
    Example: 400

  - `message` (any, required)
    What went wrong. A request that fails validation lists one message per invalid field.
    Example: Device IMEI '357111112222333' is not available to be used.

  - `error` (string, required)
    Error code. A broken business rule returns a stable SCREAMING_SNAKE_CASE code to branch on; other failures return a generic name such as `NotFoundException`.
    Example: DEVICE_IMEI_ALREADY_BOUND

  - `details` (object)
    Extra context some business-rule errors carry.

  - `debug_id` (string)
    Reference for this request, also sent in the `X-Debug-Id` header. Quote it when contacting support.
    Example: dbg_01k8x2v9j3m4n5p6q7r8s9t0vw

  - `timestamp` (string, required)
    When the error occurred.
    Example: 2026-01-15T10:30:00.000Z

## Response 413:

  - `413` (unknown)
    The file is larger than 5 MB.

## Response 413 fields (application/json):

  - `status_code` (number, required)
    HTTP status code of the response.
    Example: 400

  - `message` (any, required)
    What went wrong. A request that fails validation lists one message per invalid field.
    Example: Device IMEI '357111112222333' is not available to be used.

  - `error` (string, required)
    Error code. A broken business rule returns a stable SCREAMING_SNAKE_CASE code to branch on; other failures return a generic name such as `NotFoundException`.
    Example: DEVICE_IMEI_ALREADY_BOUND

  - `details` (object)
    Extra context some business-rule errors carry.

  - `debug_id` (string)
    Reference for this request, also sent in the `X-Debug-Id` header. Quote it when contacting support.
    Example: dbg_01k8x2v9j3m4n5p6q7r8s9t0vw

  - `timestamp` (string, required)
    When the error occurred.
    Example: 2026-01-15T10:30:00.000Z

